<template>
  <div class="main">
    <a-row>
      <a-col :span="11">
        <p>派工编码：{{ data.code }}</p>
        <p>工序名称：{{ data.processName }}</p>
        <p>生产任务：{{ data.taskCode }}</p>
      </a-col>
      <a-col :span="11">
        <p>生产批号：{{ data.batchCode }}</p>
        <p>工序产出物料：{{ data.outputProductName }}</p>
        <p>派工数量：{{ data.schedulingNumber }}</p>
      </a-col>
    </a-row>
  </div>
</template>

<script setup lang="ts">
  const props = withDefaults(
    // 参数说明
    defineProps<{
      data: {
        processName: string;
        outputProductName: string;
        batchCode: string;
        taskCode: string;
        code: string;
        schedulingNumber: number;
      };
    }>(),
    {}
  );
</script>

<style scoped lang="less">
  p {
    margin-top: 0;
    margin-bottom: 5px;
  }
</style>
